function printObj(obj) {
  var arr = [];
  for (var k in obj) {
    arr.push(k);
  }
  arr.sort();
  console.log(arr);
}
/* -------------------------------------------------------------------------- */
function uiLaunchApp(appName) {
  var script = '"ui";\nvar args = engines.myEngine().execArgv;\nlet appName = args.appName;\nlaunchApp(appName);\nui.finish();';
  engines.execScript("公众号: 牙叔教程", script, { arguments: { appName: appName } });
}
module.exports = {
  printObj: printObj,
  uiLaunchApp: uiLaunchApp,
};
